A new "export" command allows variables to exported from within shell scripts. See "man export" for more information.
C.R. #103 Write an “exit” command for scripts
A new "exit" command allows immediate exit from within shell scripts. A Return Code may be assigned. See "man exit" for more information.
C.R. #159 “man >dev:null”
There was an error in pipes to "dev:null". The simple output redirectors ">" and ">>" always acted like error redirectors ">&" and ">>&".
C.R. #164 “echo” directly from command buffer
The "echo" command has been improved. It may now echo up to a full line (2048 chars).
C.R. #165 Fix “NSH_gets” for Return characters
The "gets" callback has been corrected and improved. An error which caused "gets" to read past '\r' when reading from a file has been fixed. See the "nShell(tm) Programmer's Guide v1.0.2" for details.
C.R. #166 “wc <foo” outside home directory fails
A bad one! The pathname was not correctly managed, so input redirection failed outside the home directory.
C.R. #167 “yesno” does not handle ^D
Two problems. "NSH_getchar" did not return -1 for when a ^D was typed on the keyboard, but returned it directly. Secondly, the "yesno" command did not handle -1 as a return value.
C.R. #169 Scripts do not return correct status
The Return Code for a script should be the Return Code of the last command executed within the script. In some cases the Return Code was lost.
C.R. #170 Add man pages for flow
"man pages" for Flow Of Control keywords have been added. To access these pages, you must quote the keyword, as in man "if".
C.R. #171 Speed up input redirection
A new buffer speeds redirection.
C.R. #173 Print an error message when “which” parameter is too long.
The "which" and "pathchk" commands did not do error checking on pathname length. The buffers would be overrun on pathnames longer than 255 characters.
C.R. #174 The “find” dialog changes “ignore case” on “cancel”
The "find" dialog accepted "ignore case" control changes, even when the user selected "cancel".
===== Changes in v1.0.1
C.R. #175 Preserve paths on “save” and “open” of transcript
Version 1.0.0 did not properly save and restore system variables when shell transcripts were saved and restored.